//
//@File    :	3.4_hexoct2.cpp
//@Time    :	2021/07/30 22:50:17
//@Auther  :	Sun Sheng
//@Contact :	970340843@qq.com
//@Desc    :	display values in hec and octal
//

#include <iostream>

int main()
{
    using namespace std;
     int chest = 42;
    int waist = 42;
    int inseam = 42;

    cout<<"Minsieur cuts a striking figure!\n";
    cout<<"chest = "<<chest<<" (decimal for 42)\n";
    cout<<hex;
    cout<<"waist = "<<waist<<" (hexadecimal for 42)\n";
    cout<<oct;
    cout<<"inseam = "<<inseam<<" (octal for 42)\n";
    system("pause");
    return 0;
}